#ifndef DEALCARDCENTERPANEL_H
#define DEALCARDCENTERPANEL_H

#include <gameplaycenterpanel.h>
#include <QRect>
#include <QTimer>
class DealCardCenterPanel : public GamePlayCenterPanel
{
    Q_OBJECT
public:
    DealCardCenterPanel(QWidget *parent,int make[],QVector<Poker *> & own_poker_v,QVector<Poker*> & other_poker_v,int *last_numer_v = nullptr,int *next_number_v = nullptr,size_t step = 20,size_t step_m = 23);
    ~DealCardCenterPanel();
    //发牌
    void out_all();//发所有牌
    //void out_other(const QRect& rect, int num);
    void out_last(int xx,int yy,int num);//发一张上家牌
    void out_own(int xx,int yy,int num);//发一张自己
    void out_next(int xx,int yy,int num);//发一张下家牌

private slots:

private:
    size_t step_other;//其他玩家的牌的距离
    size_t step_my;//自己图片的步长
    QTimer * timer;//计时发牌

};

#endif // DEALCARDCENTERPANEL_H
